.layout-container {
  height: calc(100% - 50px);
}
.annex-config-container {
  @include flex;
  height: 100%;
  .type-container {
    @include flex;
    flex-direction: column;
    position: relative;
    width: 200px;
    flex-shrink: 0;
    padding: 20px 0 30px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #f5f7fa;
    #drag-container{
      flex: 1;
      overflow-y: auto;
    }
    .type {
      &-item {
        @include flex-align;
        padding: 0 8px;
        & + .type-item {
          margin-top: 10px;
        }
        &-label {
          width: 150px;
          font-weight: 400;
          font-size: 14px;
          color: #3d3d3d;
          line-height: 24px;
          cursor: pointer;
          -webkit-user-select: none;
          -moz-user-select: none;
          user-select: none;
        }
      }

    }
    .add-type-button{
      margin-top: 20px;
      text-align: center;
      :deep(.arco-btn) {
        width: 136px;
      }
    }
    .item-active {
      .type-item-label{
        color: #007dff !important;
      }
      color: #007dff !important;
      background-color: #d9e8ff !important;
    }
    :deep(.arco-empty){
      @include position-center;
    }
  }

  // 删除 拖动图标
  .item-icon{
    @include flex;
    flex-wrap: nowrap;
    margin-left: auto;
    cursor: pointer;
  }

  // 选择字段
  .field-container {
    @include flex;
    flex-direction: column;
    flex: 1;
    .field-header{
      @include flex-align;
      border-bottom: 1px solid #DCDFE6;
      &-tip{
        font-size: 12px;
        color: #86909C;
        line-height: 22px;
      }
    }
    .field-content{
      @include flex;
      flex: 1;
      flex-direction: column;
      position: relative;
      overflow-y: auto;
    }
    #drag-field-container{
      flex: 1;
      margin-top: 20px;
      overflow-y: auto;
    }
    .field-item{
      @include flex-align;
      &-checkbox{
        width: 310px;
        margin-right: 20px;
        white-space: nowrap;
        :deep(.arco-checkbox-label){
          color: rgba(0, 0, 0, 0.90);
        }
      }
      :deep(.arco-select){
        background-color: #F2F3F5;
      }
      :deep(.arco-select-view-single){
        height: 32px;
        border: 0;
      }
      :deep(.arco-select-view-single.arco-select-view-disabled){
        color: #000000;
      }
      //:deep(.arco-input-wrapper.arco-input-disabled){
      //  margin: 0 10px 0 4px;
      //}
      :deep(.arco-input-wrapper.arco-input-disabled){
        margin: 0 10px 0 4px;
        color: #86909C !important;
        background-color: #fff !important;
      }
      :deep(.arco-input-wrapper .arco-input[disabled]){
        -webkit-text-fill-color:#86909C;
      }
      &+ .field-item{
        margin-top: 20px;
      }
    }
    .field-empty{
      @include position-center;
      @include flex-align;
      flex-direction: column;
      &-label{
        margin: 16px 0 32px;
        font-size: 14px;
        color: #909399;
        line-height: 24px;
      }
    }
  }
}

.field-item-search{
  @include flex-align;
}


// 拖动分类
.drag-chosen-class{
  color: #606266 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  border: 1px solid #007dff !important;
}

// 新增分类
.add-type-modal{
  margin-top: 24px;
}

// 删除分类
.modal-message{
  @include flex-align;
  flex-direction: column;
  width: 100%;
  .del-name{
    @include flex-inline-flex;
    width: 200px;
    height: 60px;
    margin: 20px auto 10px;
    border: 1px solid #dcdfe6;
  }
  .del-tip{
    margin-bottom: 23px;
  }
}


